-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python312Packages.mlflow: 2.14.3 -> 2.16.2 #347104
Conversation
''; | ||
|
||
gunicornScript = writeText "gunicornMlflow" '' | ||
#!/usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#!/usr/bin/env python | |
#!${python.interpreter} |
Why is that not in the entrypoint of the build system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea... I applied your suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try adding an entrypoint to setup.cfg or pyptoject.toml?
It would be really cool to avoid the python code hete
900bb29
to
c8bb670
Compare
|
c8bb670
to
3e3611e
Compare
I have no idea why, but this update seems to break a single test of
|
{ | ||
python3Packages, | ||
writeText, | ||
python, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The top-level python
attribute is a deprecated alias, and that's detected by ofBorg eval. Perhaps just use python3Packages.python
? (for easier overrides)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or you could remain with the previous way of just passing python3
and using python3.pkgs
. (I don't know what's the best practice here)
3e3611e
to
8e03a09
Compare
Looks certainly better than not building. |
Things done
I was not able to get the tests working.
-> Should I leave the draft of my attempt in the derivation in case somebody wants to give it a try ?
cc @tbenst
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.